package com.example.demo;

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2018-2-6.
 */
@RestController
public class ExampleController {

    @RequestMapping("/hello")
    public String index() {
        return "Hello World";
    }
}
